ServiceCreateAttachment Method (Attachment, String) |
Creates either an item or file attachment and attaches it to the specified item.
Namespace:
Independentsoft.Exchange
Assembly:
Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntaxpublic AttachmentId CreateAttachment(
Attachment attachment,
string itemId
)
Public Function CreateAttachment (
attachment As Attachment,
itemId As String
) As AttachmentId
Parameters
- attachment
- Type: Independentsoft.ExchangeAttachment
The attachment to create. - itemId
- Type: SystemString
The parent item to attach attachment to.
Return Value
Type:
AttachmentIdThe identifier of the parent item.
See Also